//
//  DateBaseHelper.m
//  SouthChina
//
//  Created by creator_lq on 14/12/3.
//  Copyright (c) 2014年 科创. All rights reserved.
//

#import "DateBaseHelper.h"

@implementation DateBaseHelper


+(FMDatabase*)openDateBase
{
    
    FMDatabase *db = [FMDatabase databaseWithPath:[NSString stringWithFormat:@"%@DBArray.sqlite",DE.dataPath]];
    if (![db open]) {
        NSLog(@"数据库打开失败");
        return nil;
    }else{
//        NSLog(@"数据库打开成功=%@",[NSString stringWithFormat:@"%@DBArray.sqlite",DE.dataPath]);

    }
    return db;
    
}

@end
